[One Click Apps] Preview how a custom domain would be attached
Tell whether a custom domain belongs to a DNS zone managed by the organization on the console. When it does (managed), deploying an app or replacing its domains sets the A record automatically and no public DNS check is made; otherwise the domain must already resolve to the instance public IPv4 and the public resolution result is returned. A non-null reason means the domain cannot be attached as is. The platform does not need to be installed.
Authorizations
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Path Parameters
Unique identifier of the compute instance.
Unique identifier of the organization that owns the resource.
Unique identifier of the project containing the resource.
Query Parameters
Fully qualified hostname to check, with or without an https:// prefix.
Response
Normalized hostname
True when a DNS zone of the organization covers the domain; its A record is set automatically
Managed zone found for the domain
Records currently set for the name (managed zone) or resolved publicly
Public resolution result; null when the zone is managed
Why the domain cannot be attached as is; null when it can

